<?php

Loader::using("ext::libs::inscripcionesGenericas::QuestionBasedUIControlFilter");

class BasicUIControlFilter extends QuestionBasedUIControlFilter {

    public function &filterControl(UIControl &$newInstance) {
        $params = $this->getDecodedParams();

        if (isset($params->static)) {
            $newInstance->setValue($params->static);
        }

        return $newInstance;
    }

}

?>